package com.codermn.demo7;

/**
 * @author jxau_scf
 * @date 2021/6/20 - 17:21
 */
public class Test {
//    public static void main(String[] args) {
//        BaoZi baoZi = new BaoZi();
//        new BaoZiPu(baoZi).start();
//        new ChiHuo(baoZi).start();
//    }

    static boolean foo(char c)
    {
        System.out.print(c);
        return true;
    }
    public static void main(String[] args) {
        int i =0;
        for(foo('B');foo('A')&&(i<2);foo('C'))
        {
            i++;
            foo('D');
        }
    }
}
